<template>
  <div class="home-container">
    <!-- 顶部导航栏 -->
    <header class="header">
      <div class="header-content">
        <div class="logo">
          <img src="@/assets/logo/logo.svg" alt="Logo" />
          <span class="logo-text">阡陌智标</span>
        </div>
        <nav class="nav-menu">
          <a href="#features" class="nav-item">产品功能</a>
          <a href="#contact" class="nav-item">联系我们</a>
          <el-button type="primary" @click="handleLogin">登录</el-button>
        </nav>
      </div>
    </header>
        <!-- 主视觉区域优化 -->
        <section class="hero-section">
      <div class="hero-background">
        <div class="hero-shape shape-1"></div>
        <div class="hero-shape shape-2"></div>
        <div class="hero-shape shape-3"></div>
        <div class="hero-shape shape-4"></div>
        <div class="hero-grid"></div>
      </div>
      <div class="hero-content">
        <div class="hero-badge">
          <div class="badge-dot"></div>
          <span>AI 智能标书解决方案</span>
        </div>
        <h1 class="hero-title">
          <span class="gradient-text">智能标书写作助手</span>
          <div class="title-decoration">
            <div class="decoration-line"></div>
            <div class="decoration-dot"></div>
          </div>
        </h1>
        <p class="hero-subtitle">基于AI模型的智能标书写作系统，让标书写作更简单、更高效、更专业</p>
        <div class="hero-features">
          <div class="feature-tag">
            <div class="feature-icon">
              <el-icon><Check /></el-icon>
            </div>
            <span>智能分析</span>
          </div>
          <div class="feature-tag">
            <div class="feature-icon">
              <el-icon><Check /></el-icon>
            </div>
            <span>一键生成</span>
          </div>
          <div class="feature-tag">
            <div class="feature-icon">
              <el-icon><Check /></el-icon>
            </div>
            <span>专业排版</span>
          </div>
        </div>
        <div class="hero-buttons">
          <el-button type="primary" size="large" class="primary-btn" @click="handleLogin">
            <span>立即开始</span>
            <div class="btn-icon">
              <el-icon><ArrowRight /></el-icon>
            </div>
          </el-button>
          <el-button size="large" class="secondary-btn" @click="scrollToFeatures">
            <span>了解更多</span>
            <div class="btn-icon">
              <el-icon><ArrowDown /></el-icon>
            </div>
          </el-button>
        </div>
      </div>
      <div class="hero-image">
        <div class="image-container">
          <div class="image-frame">
            <img src="https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=800" alt="产品展示" />
            <div class="image-overlay"></div>
          </div>
          <div class="image-decoration"></div>
        </div>
        <!-- <div class="image-badge">
          <div class="badge-item">
            <div class="badge-icon">
              <el-icon><Trophy /></el-icon>
            </div>
            <div class="badge-content">
              <div class="badge-number">98%</div>
              <div class="badge-label">中标率</div>
            </div>
            <div class="badge-decoration"></div>
          </div>
          <div class="badge-item">
            <div class="badge-icon">
              <el-icon><TrendCharts /></el-icon>
            </div>
            <div class="badge-content">
              <div class="badge-number">50%</div>
              <div class="badge-label">效率提升</div>
            </div>
            <div class="badge-decoration"></div>
          </div>
        </div> -->
      </div>
    </section>
    <!-- 数据统计区域优化 -->
    <section class="stats-section">
      <div class="stats-container">
        <div class="stat-item">
          <div class="stat-number" v-count-up="10000">10,000+</div>
          <div class="stat-label">成功案例</div>
          <div class="stat-desc">覆盖建筑、IT、医疗等多个行业</div>
        </div>
        <div class="stat-item">
          <div class="stat-number" v-count-up="98">98%</div>
          <div class="stat-label">中标率</div>
          <div class="stat-desc">专业团队全程指导</div>
        </div>
        <div class="stat-item">
          <div class="stat-number" v-count-up="500">500+</div>
          <div class="stat-label">企业客户</div>
          <div class="stat-desc">包括世界500强企业</div>
        </div>
        <div class="stat-item">
          <div class="stat-number" v-count-up="50">50%</div>
          <div class="stat-label">效率提升</div>
          <div class="stat-desc">平均节省50%工作时间</div>
        </div>
      </div>
    </section>
     <!-- 产品优势区域优化 -->
       <!-- 产品优势区域优化 -->
    <section class="advantages-section" id="advantages">
      <div class="section-header">
        <h2 class="section-title">为什么选择我们</h2>
        <p class="section-subtitle">专业的AI标书写作解决方案，助力企业提升中标率</p>
      </div>
      <div class="advantages-grid">
        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon><Cpu /></el-icon>
          </div>
          <h3>智能分析</h3>
          <p>采用最新 AI 技术，深度理解招标需求，智能生成专业标书内容</p>
          <ul class="advantage-list">
           <li>定制标书版式和专属写作风格</li>
           <li>智能分析招标文件</li>
           <li>目录大纲逐条响应</li>
            <li>自动生成技术方案</li>
            <li>智能优化标书内容</li>
          </ul>
        </div>
        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon><EditPen /></el-icon>
          </div>
          <h3>智能排版</h3>
          <p>一键生成专业排版，自动调整格式规范，确保标书美观规范</p>
          <ul class="advantage-list">
            <li>自动调整字体字号</li>
            <li>智能分页与目录</li>
            <li>图表自动排版</li>
            <li>一键导出多种格式</li>
          </ul>
        </div>
        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon><Lock /></el-icon>
          </div>
          <h3>数据安全</h3>
          <p>企业级数据加密，多重安全防护，确保您的商业机密安全</p>
          <ul class="advantage-list">
           <li>默认仅自己可见</li>
           <li>数据冷热多重备份</li>
           <li>数据加密存储</li>
          </ul>

        </div>
        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon><Service /></el-icon>
          </div>
          <h3>专业服务</h3>
          <p>24小时技术支持，专业顾问团队，为您提供全方位服务</p>
          <ul class="advantage-list">
            <li>一对一专属顾问</li>
            <li>24小时在线支持</li>
            <li>标书专家审核</li>
            <li>投标策略指导</li>
          </ul>
        </div>
      </div>
    </section>
    <!-- 客户案例区域优化 -->
    <section class="cases-section" id="cases">
      <div class="section-header">
        <h2 class="section-title">成功案例</h2>
        <p class="section-subtitle">已帮助众多企业成功中标，提升竞争力</p>
      </div>
      <div class="cases-grid">
        <div class="case-card">
          <div class="case-image">
            <img src="https://images.unsplash.com/photo-1552664730-d307ca884978?w=400" alt="案例1" />
            <div class="case-overlay">
              <div class="case-stats">
                <div class="stat">
                  <span class="number">10亿+</span>
                  <span class="label">项目总额</span>
                </div>
                <div class="stat">
                  <span class="number">95%</span>
                  <span class="label">中标率</span>
                </div>
              </div>
            </div>
          </div>
          <div class="case-content">
            <h3>某大型建筑集团</h3>
            <p>通过我们的智能标书系统，成功中标多个大型基建项目，项目总额超过10亿</p>
            <div class="case-tags">
              <span class="tag">建筑行业</span>
              <span class="tag">大型项目</span>
              <span class="tag">高难度标书</span>
            </div>
          </div>
        </div>
        <div class="case-card">
          <div class="case-image">
          <img src="https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=400" alt="案例2" />
        </div>
          <div class="case-content">
            <h3>某科技公司</h3>
            <p>使用我们的系智能标书后，标书制作时间缩短80%，中标率提升60%</p>
          </div>
        </div>
      </div>
    </section>
    <!-- 产品功能区域 -->
    <section id="features" class="features-section">
      <div class="section-header">
        <h2 class="section-title">产品功能</h2>
        <p class="section-subtitle">一站式标书解决方案，从需求分析到最终交付</p>
      </div>
      <div class="features-showcase">
        <div class="feature-showcase-item">
          <div class="feature-showcase-content">
            <div class="feature-showcase-header">
              <div class="feature-showcase-icon">
                <el-icon><Upload /></el-icon>
              </div>
              <h3>智能导入</h3>
            </div>
            <p class="feature-showcase-desc">支持多种格式文件导入，自动识别关键信息</p>
            <div class="feature-showcase-details">
              <div class="feature-detail">
                <el-icon><Document /></el-icon>
                <span>Word/PDF自动解析</span>
              </div>
              <div class="feature-detail">
                <el-icon><Picture /></el-icon>
                <span>图片文字识别</span>
              </div>
              <div class="feature-detail">
                <el-icon><Grid /></el-icon>
                <span>表格数据提取</span>
              </div>
            </div>
          </div>
          <div class="feature-showcase-image">
            <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400" alt="智能导入" />
          </div>
        </div>

        <div class="feature-showcase-item reverse">
          <div class="feature-showcase-content">
            <div class="feature-showcase-header">
              <div class="feature-showcase-icon">
                <el-icon><DataLine /></el-icon>
              </div>
              <h3>数据分析</h3>
            </div>
            <p class="feature-showcase-desc">深度分析招标文件，提取关键评分点</p>
            <div class="feature-showcase-details">
              <div class="feature-detail">
                <el-icon><Aim /></el-icon>
                <span>评分项自动识别</span>
              </div>
              <div class="feature-detail">
                <el-icon><TrendCharts /></el-icon>
                <span>竞争对手分析</span>
              </div>
              <div class="feature-detail">
                <el-icon><DataAnalysis /></el-icon>
                <span>历史数据对比</span>
              </div>
            </div>
          </div>
          <div class="feature-showcase-image">
            <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400" alt="数据分析" />
          </div>
        </div>

        <div class="feature-showcase-item">
          <div class="feature-showcase-content">
            <div class="feature-showcase-header">
              <div class="feature-showcase-icon">
                <el-icon><EditPen /></el-icon>
              </div>
              <h3>智能写作</h3>
            </div>
            <p class="feature-showcase-desc">AI辅助写作，快速生成专业内容</p>
            <div class="feature-showcase-details">
              <div class="feature-detail">
                <el-icon><MagicStick /></el-icon>
                <span>技术方案生成</span>
              </div>
              <div class="feature-detail">
                <el-icon><Brush /></el-icon>
                <span>商务方案优化</span>
              </div>
              <div class="feature-detail">
                <el-icon><Collection /></el-icon>
                <span>专业术语库</span>
              </div>
            </div>
          </div>
          <div class="feature-showcase-image">
            <img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400" alt="智能写作" />
          </div>
        </div>
      </div>
    </section>

    <!-- 联系我们区域 -->
    <section id="contact" class="contact-section">
      <div class="section-header">
        <h2 class="section-title">联系我们</h2>
        <p class="section-subtitle">随时为您提供专业支持和服务</p>
      </div>
      <div class="contact-container">
        <div class="contact-card">
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Phone /></el-icon>
            </div>
            <div class="contact-content">
              <h3>电话咨询</h3>
              <p class="contact-number">15798483569</p>
              <span class="contact-time">工作日 9:00-18:00</span>
            </div>
          </div>
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Message /></el-icon>
            </div>
            <div class="contact-content">
              <h3>邮件支持</h3>
              <p class="contact-email">2220971877@qq.com</p>
              <span class="contact-time">24小时内回复</span>
            </div>
          </div>
          <div class="contact-item">
            <div class="contact-icon">
              <el-icon><Location /></el-icon>
            </div>
            <div class="contact-content">
              <h3>公司地址</h3>
              <p class="contact-address">广东省深圳市南山云科技大厦</p>
              <span class="contact-time">欢迎来访交流</span>
            </div>
          </div>
        </div>
        <div class="contact-qrcode">
          <div class="qrcode-card">
            <div class="qrcode-content">
              <img src="@/assets/logo/wx.jpg" alt="微信二维码" />
              <div class="qrcode-info">
                <p>添加企业微信客服</p>
                <span class="qrcode-desc">1v1的专属服务</span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- 页脚区域优化 -->
    <footer class="footer">
      <div class="footer-background">
        <div class="footer-overlay"></div>
        <div class="footer-pattern"></div>
        <div class="footer-glow"></div>
      </div>
      <div class="footer-content">
        <div class="footer-main">
          <div class="footer-brand">
            <div class="brand-logo">
              <img src="@/assets/logo/logo.svg" alt="Logo" />
              <div class="logo-glow"></div>
            </div>
            <span class="brand-name">阡陌智标</span>
            <p class="brand-desc">专业的AI标书写作解决方案，助力企业提升中标率</p>
            <!-- <div class="brand-social">
              <a href="#" class="social-icon">
                <el-icon><ChatDotRound /></el-icon>
              </a>
              <a href="#" class="social-icon">
                <el-icon><Share /></el-icon>
              </a>
              <a href="#" class="social-icon">
                <el-icon><Star /></el-icon>
              </a>
            </div> -->
          </div>
          <div class="footer-links">
            <div class="link-group">
              <h4>产品服务</h4>
              <div class="link-list">
                <a href="#features" class="link-item">
                  <span class="link-icon"><el-icon><Document /></el-icon></span>
                  <span>产品功能</span>
                </a>
                <a href="#advantages" class="link-item">
                  <span class="link-icon"><el-icon><Star /></el-icon></span>
                  <span>产品优势</span>
                </a>
                <a href="#cases" class="link-item">
                  <span class="link-icon"><el-icon><Trophy /></el-icon></span>
                  <span>成功案例</span>
                </a>
              </div>
            </div>
            <div class="link-group">
              <h4>关于我们</h4>
              <div class="link-list">
                <a href="#about" class="link-item">
                  <span class="link-icon"><el-icon><InfoFilled /></el-icon></span>
                  <span>公司简介</span>
                </a>
                <a href="#contact" class="link-item">
                  <span class="link-icon"><el-icon><Message /></el-icon></span>
                  <span>联系我们</span>
                </a>
                <!-- <a href="#join" class="link-item">
                  <span class="link-icon"><el-icon><User /></el-icon></span>
                  <span>加入我们</span>
                </a> -->
              </div>
            </div>
            <!-- <div class="link-group">
              <h4>帮助中心</h4>
              <div class="link-list">
                <a href="#faq" class="link-item">
                  <span class="link-icon"><el-icon><QuestionFilled /></el-icon></span>
                  <span>常见问题</span>
                </a>
                <a href="#guide" class="link-item">
                  <span class="link-icon"><el-icon><Reading /></el-icon></span>
                  <span>使用指南</span>
                </a>
                <a href="#support" class="link-item">
                  <span class="link-icon"><el-icon><Service /></el-icon></span>
                  <span>技术支持</span>
                </a>
              </div>
            </div> -->
          </div>
        </div>
        <div class="footer-bottom">
          <div class="footer-info">
            <div class="copyright-info">
              <p>© 2025 深圳市渊维科技有限公司版权所有</p>
            </div>
            <span class="divider">|</span>
            <a href="https://beian.miit.gov.cn" target="_blank" style="color:#3b82f6">粤ICP备2025384995号-1 </a>
            <span class="divider">|</span>
            <div class="footer-extra-links">
              <a href="#" class="extra-link">用户协议</a>
              <span class="divider">|</span>
              <a href="#" class="extra-link" @click.prevent="privacyDialogVisible = true">隐私政策</a>
              <!-- <span class="divider">|</span>
              <a href="#" class="extra-link">法律声明</a> -->
            </div>
          </div>
        </div>
      </div>
    </footer>
    <el-dialog v-model="privacyDialogVisible" title="阡陌智标™ 隐私政策" width="60%" append-to-body class="privacy-dialog">
      <PrivacyPolicyContent :showFooter="false" @close="privacyDialogVisible = false" />
    </el-dialog>
  </div>
</template>
<script setup>
import { ref, onMounted } from 'vue';
import { useRouter } from 'vue-router';
import {
  Document,
  DataAnalysis,
  Edit,
  Connection,
  Phone,
  Message,
  Location,
  Cpu,
  Lock,
  Timer,
  Service,
  Check,
  Upload,
  DataLine,
  EditPen,
  Files,
  Picture,
  Grid,
  Aim,
  TrendCharts,
  MagicStick,
  Brush,
  Collection,
  Star,
  ArrowRight,
  ArrowDown,
  Trophy,
  ChatDotRound,
  Share,
  InfoFilled,
  User,
  QuestionFilled,
  Reading
} from '@element-plus/icons-vue';
import PrivacyPolicyContent from '../login/components/PrivacyPolicyContent.vue';
const router = useRouter();
// 联系我们表单数据
const contactForm = ref({
  name: '',
  phone: '',
  message: ''
});
// 处理登录
const handleLogin = () => {
  router.push('/login');
};
// 滚动到功能区域
const scrollToFeatures = () => {
  document.getElementById('features').scrollIntoView({ behavior: 'smooth' });
};
// 提交联系表单
const submitContact = () => {
  // TODO: 实现表单提交逻辑
  ElMessage.success('感谢您的留言，我们会尽快与您联系！');
  contactForm.value = {
    name: '',
    phone: '',
    message: ''
  };
};

// 修改数字动画指令
const vCountUp = {
  mounted: (el, binding) => {
    const target = binding.value;
    const duration = 2000;
    const step = target / (duration / 16);
    let current = 0;
    
    const updateNumber = () => {
      current += step;
      if (current < target) {
        // 动画过程中只显示数字
        el.textContent = Math.floor(current).toLocaleString();
        requestAnimationFrame(updateNumber);
      } else {
        // 动画结束时，恢复原始文本内容
        el.textContent = el.getAttribute('data-original-text') || target.toLocaleString();
      }
    };
    
    // 保存原始文本
    el.setAttribute('data-original-text', el.textContent);
    updateNumber();
  }
};
const privacyDialogVisible = ref(false);
</script>

<style lang="scss" scoped>
.home-container {
  background: var(--ai-bg-primary);
  min-height: 100vh;
  color: var(--ai-text-primary);
  width: 100%;
  position: relative;
  overflow-x: hidden;
}

/* 顶部导航栏样式 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  width: 100%;
  background: var(--ai-bg-card);
  backdrop-filter: var(--ai-blur-md);
  border-bottom: 1px solid var(--ai-border);
  box-shadow: var(--ai-shadow-md);
  z-index: 100;
}

.header-content {
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--ai-text-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: var(--ai-text-secondary);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  font-weight: 500;
  
  &:hover {
    color: var(--ai-primary);
  }
}

/* 主视觉区域优化样式 */
.hero-section {
  position: relative;
  padding: 120px 24px 80px;
  background: var(--ai-bg-primary);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 100%;
  margin: 0;
  width: 100%;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, var(--ai-bg-overlay) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
  background-size: 40px 40px;
  opacity: 0.6;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 800px;
  height: 800px;
  background: var(--ai-primary);
  top: -300px;
  right: -200px;
  animation-delay: 0s;
}

.shape-2 {
  width: 600px;
  height: 600px;
  background: var(--ai-secondary);
  bottom: -200px;
  left: -200px;
  animation-delay: -2s;
}

.shape-3 {
  width: 400px;
  height: 400px;
  background: var(--ai-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -4s;
}

.shape-4 {
  width: 300px;
  height: 300px;
  background: var(--ai-secondary);
  top: 20%;
  right: 20%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ai-primary);
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(64, 158, 255, 0.2);
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.1);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--ai-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  position: relative;
}

.gradient-text {
  background: var(--ai-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.title-decoration {
  position: absolute;
  bottom: -10px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.decoration-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--ai-primary), transparent);
  border-radius: 2px;
}

.decoration-dot {
  width: 8px;
  height: 8px;
  background: var(--ai-primary);
  border-radius: 50%;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--ai-text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  font-size: 16px;
  color: var(--ai-text-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(64, 158, 255, 0.1);
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: #fff;
  }
}

.feature-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-gradient-primary);
  border-radius: 50%;
  
  .el-icon {
    font-size: 16px;
    color: #fff;
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.primary-btn {
  padding: 22px 56px;
  font-size: 26px;
  font-weight: 700;
  border-radius: var(--ai-radius-lg);
  display: flex;
  align-items: center;
  gap: 22px;
  transition: var(--ai-transition);
  background: var(--ai-gradient-primary);
  background-size: 400% 400%;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ai-shadow-md);
  animation: btn-breath 2.5s infinite ease-in-out, btn-float 2.8s infinite ease-in-out, btn-gradient-move 5s infinite linear;
  color: white;
  
  &:hover {
    transform: translateY(-4px);
    box-shadow: var(--ai-shadow-lg);
  }
}

@keyframes btn-gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.primary-btn::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 56px;
  border: 3px solid var(--ai-primary);
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
  filter: blur(2px);
  animation: btn-glow 2s infinite linear, btn-neon 3.5s infinite linear;
}

.primary-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 48px;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.18) 0%, transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(0,216,255,0.12) 0%, transparent 70%);
  opacity: 0.7;
  animation: btn-particles 2.2s infinite linear;
}

@keyframes btn-breath {
  0%,100% { box-shadow: var(--ai-shadow-md); }
  50% { box-shadow: var(--ai-shadow-lg); }
}

@keyframes btn-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes btn-glow {
  0% { box-shadow: var(--ai-shadow-md); }
  50% { box-shadow: var(--ai-shadow-glow); }
  100% { box-shadow: var(--ai-shadow-md); }
}

@keyframes btn-neon {
  0% { border-color: var(--ai-primary); }
  25% { border-color: var(--ai-secondary); }
  50% { border-color: var(--ai-primary); }
  75% { border-color: var(--ai-secondary); }
  100% { border-color: var(--ai-primary); }
}

@keyframes btn-particles {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.primary-btn .btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.28);
  border-radius: 50%;
  transition: all 0.3s;
  animation: icon-bounce 1.2s infinite alternate cubic-bezier(.4,2,.6,1), icon-flash 1.5s infinite linear;
  box-shadow: 0 0 12px 2px #00d8ff80;
}

@keyframes icon-bounce {
  0% { transform: translateY(0) scale(1); filter: brightness(1); }
  60% { transform: translateY(-10px) scale(1.18); filter: brightness(1.3); }
  100% { transform: translateY(0) scale(1); filter: brightness(1); }
}

@keyframes icon-flash {
  0%,100% { filter: drop-shadow(0 0 0 #fff); }
  50% { filter: drop-shadow(0 0 8px #fff); }
}

.secondary-btn {
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(64, 158, 255, 0.2);
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  
  &:hover .btn-icon {
    transform: translateY(4px);
  }
}

.hero-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-frame {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.image-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid rgba(64, 158, 255, 0.2);
  border-radius: 24px;
  pointer-events: none;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1));
}

/* 数据统计区域优化样式 */
.stats-section {
  background: var(--ai-gradient-primary);
  padding: 60px 24px;
  color: #fff;
  width: 100%;
  margin: 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 18px;
  opacity: 0.9;
}

.stat-desc {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 8px;
}

/* 产品优势区域优化样式 */
.advantages-section {
  padding: 80px 24px;
  background: var(--ai-bg-card);
  width: 100%;
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--ai-text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--ai-text-secondary);
  margin-top: 16px;
}

.advantages-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--ai-bg-glass);
  border-radius: 16px;
  box-shadow: var(--ai-shadow-md);
  transition: transform 0.3s;
  border: 1px solid var(--ai-border-light);
  
  &:hover {
    transform: translateY(-10px);
    box-shadow: var(--ai-shadow-lg);
  }
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-gradient-subtle);
  border-radius: 50%;
  
  .el-icon {
    font-size: 32px;
    color: var(--ai-primary);
  }
}

.advantage-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ai-text-primary);
  margin-bottom: 12px;
}

.advantage-item p {
  color: var(--ai-text-secondary);
  line-height: 1.5;
}

.advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  
  li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--ai-text-secondary);
    
    &::before {
      content: "•";
      color: var(--ai-primary);
    }
  }
}

/* 客户案例区域优化样式 */
.cases-section {
  padding: 80px 24px;
  background: var(--ai-bg-overlay);
  width: 100%;
  margin: 0;
}

.cases-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.case-card {
  background: var(--ai-bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ai-shadow-md);
  border: 1px solid var(--ai-border-light);
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: var(--ai-shadow-lg);
  }
}

.case-image {
  position: relative;
  
  img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
}

.case-stats {
  display: flex;
  justify-content: space-around;
}

.case-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 4px 12px;
  background: var(--ai-bg-overlay);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ai-text-secondary);
}

.case-content {
  padding: 24px;
  
  h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 12px;
  }
  
  p {
    color: var(--ai-text-secondary);
    line-height: 1.6;
  }
}

/* 功能区域样式 */
.features-section {
  padding: 100px 24px;
  background: var(--ai-bg-primary);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  
  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(64, 158, 255, 0.2), transparent);
  }
}

.features-showcase {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-showcase-item {
  display: flex;
  gap: 60px;
  align-items: center;
  background: var(--ai-bg-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--ai-shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--ai-border-light);
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: var(--ai-shadow-xl);
  }
  
  &.reverse {
    flex-direction: row-reverse;
  }
}

.feature-showcase-content {
  flex: 1;
}

.feature-showcase-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.feature-showcase-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-gradient-primary);
  border-radius: 16px;
  
  .el-icon {
    font-size: 36px;
    color: #fff;
  }
}

.feature-showcase-header h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--ai-text-primary);
  margin: 0;
}

.feature-showcase-desc {
  font-size: 18px;
  color: var(--ai-text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.feature-showcase-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--ai-bg-overlay);
  border-radius: 12px;
  transition: all 0.3s ease;
  
  &:hover {
    background: var(--ai-gradient-subtle);
    transform: translateY(-2px);
  }
  
  .el-icon {
    font-size: 24px;
    color: var(--ai-primary);
  }
  
  span {
    font-size: 15px;
    color: var(--ai-text-secondary);
    font-weight: 500;
  }
}

.feature-showcase-image {
  flex: 1;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
}

.feature-showcase-item:hover .feature-showcase-image img {
  transform: scale(1.05);
}

/* 联系我们区域样式 */
.contact-section {
  padding: 80px 24px;
  background: var(--ai-bg-overlay);
  width: 100%;
  margin: 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.contact-card {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: stretch;
}

.contact-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--ai-bg-card);
  border-radius: 16px;
  box-shadow: var(--ai-shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--ai-border-light);
  
  &:hover {
    transform: translateY(-5px);
    box-shadow: var(--ai-shadow-lg);
  }
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-gradient-primary);
  border-radius: 12px;
  
  .el-icon {
    font-size: 28px;
    color: #fff;
  }
}

.contact-content {
  flex: 1;
  
  h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ai-text-primary);
    margin-bottom: 8px;
  }
}

.contact-number,
.contact-email,
.contact-address {
  font-size: 16px;
  color: var(--ai-primary);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-time {
  font-size: 14px;
  color: var(--ai-text-tertiary);
}

.contact-qrcode {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.qrcode-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-bg-card);
  border-radius: 16px;
  box-shadow: var(--ai-shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  min-height: 100%;
  padding: 0;
  border: 1px solid var(--ai-border-light);
}

.qrcode-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 0;
  
  img {
    width: 200px;
    height: 200px;
    margin-bottom: 16px;
    border-radius: 8px;
    display: block;
  }
}

.qrcode-info p {
  font-size: 18px;
  font-weight: 500;
  color: var(--ai-text-primary);
  margin-bottom: 8px;
  text-align: center;
}

.qrcode-desc {
  font-size: 14px;
  color: var(--ai-text-tertiary);
  text-align: center;
}

/* 页脚样式优化 */
.footer {
  position: relative;
  background: var(--ai-gradient-subtle);
  color: var(--ai-text-primary);
  padding: 60px 24px 30px;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ai-bg-overlay);
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.footer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(64, 158, 255, 0.1) 0%, transparent 70%);
  animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ai-border-light);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-logo {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-bg-overlay);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  
  img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    position: relative;
    z-index: 1;
  }
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.2) 0%, transparent 70%);
  animation: glow 2s ease-in-out infinite;
}

.brand-name {
  font-size: 24px;
  font-weight: 600;
  background: var(--ai-gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-desc {
  font-size: 14px;
  color: var(--ai-text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.link-group h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ai-text-primary);
  position: relative;
  display: inline-block;
  
  &::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--ai-gradient-primary);
    border-radius: 1px;
  }
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ai-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 6px 0;
  
  &:hover {
    color: var(--ai-text-primary);
    transform: translateX(4px);
  }
}

.link-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ai-bg-overlay);
  border-radius: 8px;
  transition: all 0.3s ease;
  
  .el-icon {
    font-size: 14px;
  }
}

.link-item:hover .link-icon {
  background: var(--ai-primary);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--ai-text-secondary);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-info {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-extra-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.extra-link {
  color: var(--ai-text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  
  &:hover {
    color: var(--ai-text-primary);
  }
}

.divider {
  color: var(--ai-text-secondary);
}

.copyright-info {
  text-align: center;

  p {
    margin: 0;
    font-size: 13px;
    color: var(--ai-text-secondary);
    font-weight: 500;
  }
}

/* 响应式调整 */
@media (max-width: 1200px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-showcase-item {
    flex-direction: column;
    padding: 32px;
    
    &.reverse {
      flex-direction: column;
    }
  }
  
  .feature-showcase-image {
    width: 100%;
    height: 300px;
  }
  
  .feature-showcase-details {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 16px;
  }
  
  .hero-section {
    padding: 100px 16px 60px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-showcase-details {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 24px;
  }
  
  .contact-qrcode, .contact-card {
    width: 100%;
    min-height: unset;
  }
  
  .qrcode-card, .qrcode-content {
    padding: 24px 0;
  }
  
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-extra-links {
    justify-content: center;
  }

  .copyright-info {
    text-align: center;
  }
}

/* 隐私政策弹窗样式 */
.privacy-dialog {
  .privacy-content {
    max-height: 90%;
    overflow-y: auto;
    padding: 0 20px;
    background: var(--ai-bg-card);
    border-radius: 8px;
    font-size: 15px;
    color: var(--ai-text-primary);
    line-height: 1.8;
    box-shadow: var(--ai-shadow-md);
    
    .privacy-header {
      text-align: center;
      margin-bottom: 20px;
      color: var(--ai-text-secondary);
      font-size: 16px;
      font-weight: bold;
    }
    
    .privacy-body {
      margin-bottom: 30px;
      line-height: 1.8;
      white-space: pre-line;
      word-break: break-all;
      background: var(--ai-bg-overlay);
      border-radius: 6px;
      padding: 18px 16px;
      box-shadow: var(--ai-shadow-sm);
      font-size: 15px;
      color: var(--ai-text-secondary);
      
      p {
        margin: 10px 0;
      }
      
      b, strong {
        color: var(--ai-primary);
      }
      
      h3 {
        margin: 18px 0 10px 0;
        color: var(--ai-text-primary);
        font-size: 16px;
        font-weight: bold;
      }
      
      ul, ol {
        margin: 10px 0 10px 20px;
        padding-left: 20px;
      }
      
      table {
        width: 100%;
        border-collapse: collapse;
        margin: 12px 0;
        font-size: 14px;
      }
      
      th, td {
        border: 1px solid var(--ai-border-light);
        padding: 6px 10px;
        text-align: left;
      }
      
      th {
        background: var(--ai-bg-overlay);
        color: var(--ai-text-primary);
      }
    }
  }
}
</style> 